//
//  Rotator.h
//  all_test04
//
//  Created by Jarosław Wojtasik on 18.06.2013.
//  Copyright (c) 2013 Jarosław Wojtasik. All rights reserved.
//

#ifndef __all_test04__Rotator__
#define __all_test04__Rotator__

#include <allegro5/allegro.h>

class Rotator {
public:
    Rotator();
    virtual ~Rotator();

    void turnTowardPoint( double x, double y );

    void update();
    
    void draw();
private:
	double _targetAngle;
	double _currAngle;
	ALLEGRO_BITMAP* _bitmap;
};

#endif /* defined(__all_test04__Rotator__) */
